<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>复合属性</title>
  <style>
    div{
      /*font-style: italic;*/
      /*font-weight: bold;*/
      /*font-size: 16px;*/
      /*font-family: 'microsoft yahei';*/
      /*复合属性：简写的方式 节约代码*/
      /*font: font-style font-weight font-size/line-height font-family;*/
      /*顺序不能乱*/
      font: italic 700 16px 'microsoft yahei';
    }
  </style>
</head>
<body>
<div>来呀快活呀，反正有，大把时光，来呀</div>
</body>
</html>